package com.zx.ishopping.services;

import com.zx.ishopping.VO.AddressVO;
import com.zx.ishopping.entity.Address;

import java.util.List;

public interface AddressService {
    /**
     * 获取地址列表
     * @return
     */
    List<AddressVO> getAddress();

    /**
     * 添加地址
     * @param address
     */
    void addAddress(Address address);

    /**
     * 删除地址
     * @param id
     */
    void deleteAddress(Long id);

    /**
     * 修改地址
     * @param address
     */
    void updateAddress(Address address);
}
